package cn.ubeta.b2c.bean;

import cn.ubeta.b2c.DemoData;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by liudengyong on 16/8/17.
 */

public class FoundInfo extends ApiResp {

    int brandId;
    String name;
    int resImg;

    public FoundInfo(int brandId, String name, int resImg) {
        this.brandId = brandId;
        this.name = name;
        this.resImg = resImg;
    }

    public static List<FoundInfo> getTestData() {
        List<FoundInfo> data = new ArrayList<>();
        for (int i = 0; i < 12; ++i) {
            data.add(new FoundInfo(i, DemoData.name[i], DemoData.price[i]));
        }
        return data;
    }

    public int getBrandId() {
        return brandId;
    }

    public String getName() {
        return name;
    }

    public int getResImg() {
        return resImg;
    }
}
